|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A debug model presentation may implement this interface to provide editor related decorations for editors opened by the debugger.
Method Summary | |
void |
decorateEditor(IEditorPart editorPart,
IStackFrame frame)
Provides this editor presentation with an opportunity to decorate the given editor in the context of the given stack frame. |
Image |
getInstructionPointerImage(IStackFrame frame)
Returns the image used to annotate a line of source code in an editor's ruler corresponding to the given stack frame, or null if the
default image should be used. |
void |
removeDecorations(IEditorPart editorPart,
IThread thread)
Removes any debug related decorations in the given editor. |
boolean |
selectAndReveal(IEditorPart editorPart,
IStackFrame frame)
Provides this editor presentation with a chance to position the given editor to the appropriate location for the given stack frame. |
Method Detail |
public Image getInstructionPointerImage(IStackFrame frame)
null
if the
default image should be used.
frame
- stack frame
null
if the
default image should be usedpublic boolean selectAndReveal(IEditorPart editorPart, IStackFrame frame)
false
is returned, the debugger will perform the select and reveal.
editorPart
- the editor the debugger has openedframe
- the stack frame that corresponds to the editor
public void removeDecorations(IEditorPart editorPart, IThread thread)
editorPart
- an editor that was decoratedthread
- the thread the editor was decorated forpublic void decorateEditor(IEditorPart editorPart, IStackFrame frame)
selectAndReveal
.
editorPart
- the editor the debugger has openedframe
- the stack frame that corresponds to the editor
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |